<?php

namespace Viettrans\FrontBundle\Services;

use Viettrans\FrontBundle\Services\Lib\CssPacker;
use Viettrans\FrontBundle\Services\Lib\JavaScriptPacker;

class MyPacker {
	public function packJs($jsContent) {
		$jsPacker = new JavaScriptPacker($jsContent, 'Normal', true, false);
		return $jsPacker->pack();
	}
	
	public function packCss($cssContent) {
		$cssPacker = new CssPacker($cssContent);
		return $cssPacker->pack($cssPacker);
	}
}